﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DLL;

namespace QuanLyBanLe.Benefit
{
    public partial class FormSellStatisticsReport : Form
    {
        private List<pSellStatistics_Result> m_SellStatictics;
        public FormSellStatisticsReport(List<pSellStatistics_Result> sellStatistics)
        {
            InitializeComponent();
            m_SellStatictics = sellStatistics;
        }

        private void FormSellStatisticsReport_Load(object sender, EventArgs e)
        {
            this.Text += FormMain.GetShopInfo();
            this.pSellStatistics_ResultBindingSource.DataSource = m_SellStatictics;
            this.reportViewer1.RefreshReport();
        }
    }
}
